﻿using furion.blog.Domain.MySQL;
using furion.blog.Domain.Query.RequestLog;
using furion.blog.Domain.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace furion.blog.Domain.IRepositories
{
    public interface IRequestLogRepository
    {

        /// <summary>
        /// 批量新增
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task Save(List<RequestLog> data);

        /// <summary>
        /// 分页查询(只能根据日期查询)
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<PageVO> List(RequestLogListQuery query);

        /// <summary>
        /// 详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<RequestLog> Detail(string date,long id);
    }
}
